package com.bflow.api.bo.ext;

import com.bflow.commons.bean.SelectBean;

import java.io.Serializable;

/**
 * @Name 角色
 * @Author haowen
 * @Date 2018-12-17
 */
public class BflowRoleBo implements SelectBean {

    private String roleKey;
    private String roleName;
    private String desc;

    public BflowRoleBo() {
    }

    public BflowRoleBo(String roleKey, String roleName) {
        this.roleKey = roleKey;
        this.roleName = roleName;
    }

    public String getRoleKey() {
        return this.roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }

    public String getRoleName() {
        return this.roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return getRoleKey();
    }

    @Override
    public String getText() {
        return getRoleName();
    }
}
